package com.manli.api.util;

public class QueryParamsMapUtil {
    public static boolean paramIsEmpty(Object param){
        if(param == null){
            return true;
        }else{
            if("".equals(param.toString().trim())){
                return true;
            }
        }
        return false;
    }

    public static Object paramIsEmptyVal(Object param){
        if(param == null){
            return null;
        }else{
            if("".equals(param.toString().trim())){
                return null;
            }
        }
        return param;
    }
}
